package com.chen.entity;

import java.util.Date;
public class News {
	private String news_id; 
	private String news_title; 
	private String news_content; 
	private Date news_time; 
	private Integer news_nums; 
	private String news_type;
	private String news_img;

	public String getNews_img() {
		return news_img;
	}

	public void setNews_img(String news_img) {
		this.news_img = news_img;
	}

	public News (){

	}

	public void setNews_id(String news_id){
		this.news_id=news_id;
	}
	public String getNews_id(){
		return news_id;
	}

	public void setNews_title(String news_title){
		this.news_title=news_title;
	}
	public String getNews_title(){
		return news_title;
	}

	public void setNews_content(String news_content){
		this.news_content=news_content;
	}
	public String getNews_content(){
		return news_content;
	}

	public void setNews_time(Date news_time){
		this.news_time=news_time;
	}
	public Date getNews_time(){
		return news_time;
	}

	public void setNews_nums(Integer news_nums){
		this.news_nums=news_nums;
	}
	public Integer getNews_nums(){
		return news_nums;
	}

	public void setNews_type(String news_type){
		this.news_type=news_type;
	}
	public String getNews_type(){
		return news_type;
	}

	@Override
	public String toString() {
		return "News{" +
				"news_id='" + news_id + '\'' +
				", news_title='" + news_title + '\'' +
				", news_content='" + news_content + '\'' +
				", news_time=" + news_time +
				", news_nums=" + news_nums +
				", news_type='" + news_type + '\'' +
				", news_img='" + news_img + '\'' +
				'}';
	}
}

